package com.imooc.miaosha.service;

import com.imooc.miaosha.dto.User.RegisterDTO;
import com.imooc.miaosha.dto.UserDTO;
import com.imooc.miaosha.util.JsonData;

public interface UserService {
    public UserDTO login(String password, String mobile,String salt);

    public boolean checkIsAdmin(UserDTO userDTO);

    public JsonData listUser();

    public int registerUser(RegisterDTO registerDTO);

    public String userExistAndReturnSalt(String mobile);
}
